import myAxios from "@/plugins/axios.js";

// 登录接口
export function login(username, password) {
    return myAxios.post("/login", {username, password})
}

export function getUserInfo(){
    return myAxios.get("/admin/user/info")
}

// 修改用户密码
export function updateAdminPassword(data) {
    return myAxios.post("/admin/user/updatePassword", data)
}